
package com.test;

import java.io.Serializable;


public class SMILComponent implements Serializable
{
    private static final long serialVersionUID = 1L;
    public static final int TYPE_TEXT = 0;
    public static final int TYPE_IMAGE = 1;
    public static final int TYPE_AUDIO = 2;
    public static final int TYPE_VIDEO = 3;

    private int type;
    private int duration;


    /**
     * @return the type
     */
    public int getType()
    {
        return type;
    }


    /**
     * @param type the type to set
     */
    protected void setType(int type)
    {
        this.type = type;
    }


    /**
     * @return the duration
     */
    public int getDuration()
    {
        return duration;
    }


    /**
     * @param duration the duration to set
     */
    public void setDuration(int duration)
    {
        this.duration = duration;
    }
}
